/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sanerzone.smscenter.modules.sms.service;

import com.sanerzone.jeebase.common.persistence.Page;
import com.sanerzone.jeebase.common.service.CrudService;
import com.sanerzone.smscenter.modules.sms.dao.SmsReceiveAccountDao;
import com.sanerzone.smscenter.modules.sms.entity.SmsReceiveAccount;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 单表生成Service
 * @author ThinkGem
 * @version 2018-04-25
 */
@Service
@Transactional(readOnly = true)
public class SmsReceiveAccountService extends CrudService<SmsReceiveAccountDao, SmsReceiveAccount> {

	public SmsReceiveAccount get(String id) {
		return super.get(id);
	}
	
	public List<SmsReceiveAccount> findList(SmsReceiveAccount smsReceiveAccount) {
		return super.findList(smsReceiveAccount);
	}
	
	public Page<SmsReceiveAccount> findPage(Page<SmsReceiveAccount> page, SmsReceiveAccount smsReceiveAccount) {
		return super.findPage(page, smsReceiveAccount);
	}
	
	@Transactional(readOnly = false)
	public void save(SmsReceiveAccount smsReceiveAccount) {
		super.save(smsReceiveAccount);
	}
	
	@Transactional(readOnly = false)
	public void delete(SmsReceiveAccount smsReceiveAccount) {
		super.delete(smsReceiveAccount);
	}
	
}